package com.lk.lkappearance.service;

import com.lk.lkappearance.model.Meter;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author st
 */
@Service
public interface MeterService {


    /**
     * @param meter
     * @return
     */
    Map<String,Object> add(Meter meter);

    /**
     * @return
     */
    Map<String,Object> modify(Meter meter);

    /**
     * @param meterId
     * @return
     */
    Map<String,Object> delete(String meterId);

    /**
     * @param meterId
     * @return
     */
    Map<String,Object> selectByPrimaryKey(String meterId);

    /**
     * @param meter
     * @return
     */
    Map<String,Object> getList(Meter meter);


    /**
     * @param meterList
     * @return
     */
    Map<String,Object> insertListExcel(List<Meter> meterList);

    /**
     * @param meter
     * @return
     */
    Map<String,Object> exportExcel(Meter meter);


}
